{% extends "User_panel/base_user_panel.html" %}
{% block panel-content %}
      <div id="center">
        <form method="post" action=".">{% csrf_token %}
          <table>
            <tr>
              <td>
                <label for="id_old_password">Old password:&nbsp;</label>
              </td>
              <td>
                {{form.old_password}}
              </td>
            </tr>
            <tr>
              <td>
                <label for="id_new_password1">New password:&nbsp;</label>
              </td>
              <td>
                {{form.new_password1}}
              </td>
            </tr>
            <tr>
              <td>
                <label for="id_new_password2">New password (again):&nbsp;</label>
              </td>
              <td>
                {{form.new_password2}}
              </td>
            </tr>
            <tr>
              <td colspan=2>
                {{form.errors}}
              </td>
            </tr>
          </table>
          <input type="submit" value="Save" />
        </form>
      </div>
{% endblock %}